#pragma once
#include "protocols/PacketHeader.h"
#include "utilities/NetAddress.h"

class IpProtocolHeader : public PacketHeader
{
public:
	IpProtocolHeader(ProtocolPtr id,const unsigned char* data,size_t pos,size_t length) : PacketHeader(id,data,pos,length) {}

	virtual QString getSource() const = 0;
	virtual QString getDestination() const = 0;
	virtual NetAddress getSrcIp() const = 0;
	virtual NetAddress getDstIp() const = 0;
};